﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Niloc_Project.Models.DataSetModelNiloc+T_E_FOURNISSEUR_FRRow>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <table>
        <tr>
            <th></th>
            <th>
                FR_ID
            </th>
            <th>
                SE_ID
            </th>
            <th>
                GR_ID
            </th>
            <th>
                FR_LIBELLE
            </th>
            <th>
                FR_RUE
            </th>
            <th>
                FR_CP
            </th>
            <th>
                FR_VILLE
            </th>
            <th>
                FR_TEL
            </th>
            <th>
                RowError
            </th>
            <th>
                HasErrors
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) %> |
                <%: Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })%> |
                <%: Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })%>
            </td>
            <td>
                <%: String.Format("{0:F}", item.FR_ID) %>
            </td>
            <td>
                <%: String.Format("{0:F}", item.SE_ID) %>
            </td>
            <td>
                <%: String.Format("{0:F}", item.GR_ID) %>
            </td>
            <td>
                <%: item.FR_LIBELLE %>
            </td>
            <td>
                <%: item.FR_RUE %>
            </td>
            <td>
                <%: item.FR_CP %>
            </td>
            <td>
                <%: item.FR_VILLE %>
            </td>
            <td>
                <%: item.FR_TEL %>
            </td>
            <td>
                <%: item.RowError %>
            </td>
            <td>
                <%: item.HasErrors %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Create New", "Create") %>
    </p>

</asp:Content>

